package com.yyfax.pay.third.model.to.fuioudeposit;

import javax.persistence.Transient;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.alibaba.fastjson.annotation.JSONField;
import com.yyfax.framework.model.BasePO;

/**
 * 富友网银支付表单数据
 * 
 * @author buyi
 * @date 2017-08-30 10:54:21
 * @since v2.0.0
 */
@SuppressWarnings("serial")
public class FuiouEbankFormVO extends BasePO {
	/** 商户代码，该商户代码为富友存管的 */
	@JSONField(name = "mchnt_cd")
	private String merchantCode;
	/** 流水号 */
	@JSONField(name = "mchnt_txn_ssn")
	private String busiId;
	/** 登录id */
	@JSONField(name = "login_id")
	private String loginId;
	/** 金额，分 */
	@JSONField(name = "amt")
	private long amount;
	/** 支付类型,（‘B2C’ – B2C个人支付、‘B2B’ – B2B企业支付） */
	@JSONField(name = "order_pay_type")
	private String subjectType;
	/** 银行代码 */
	@JSONField(name = "iss_ins_cd")
	private String bankCode;
	/** 商户返回地址 */
	@JSONField(name = "page_notify_url")
	private String backUrl;
	/** 商户异步地址 */
	@JSONField(name = "back_notify_url")
	private String notifyUrl;
	/** 签名串 */
	@Transient
	@JSONField(name = "signature")
	private String sign;

	public String getMerchantCode() {
		return merchantCode;
	}

	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}

	public String getBusiId() {
		return busiId;
	}

	public void setBusiId(String busiId) {
		this.busiId = busiId;
	}

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public String getSubjectType() {
		return subjectType;
	}

	public void setSubjectType(String subjectType) {
		this.subjectType = subjectType;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
